Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silencing the unused lambda capture warning #853

Merged
merged 2 commits into from
Apr 19, 2018

Conversation

ihla
Copy link

@ihla ihla commented Apr 17, 2018

No description provided.

@@ -151,7 +151,7 @@ namespace graphene { namespace app {
{
auto block_num = b.block_num();
auto& callback = _callbacks.find(id)->second;
fc::async( [capture_this,this,id,block_num,trx_num,trx,callback]() {
fc::async( [capture_this,id,block_num,trx_num,trx,callback]() {
Copy link
Contributor

@jmjatlanta jmjatlanta Apr 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have been working on this line of code for another PR (#813), and can verify that the change above causes no side effects. Unfortunately it doesn't fix 813's problem, but that is another story...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for confirming that @jmjatlanta

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to hear more discussion about this. @pmconrad ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing "this" shouldn't make a difference. Nevertheless I think we should wait for John's results from #813 before changing this.

Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

Copy link
Member

@abitmore abitmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ihla please revert the change about api.cpp then we'll merge other changes in this PR.

@jmjatlanta please consider removing this in #813 if it's OK to do so.

Copy link
Member

@abitmore abitmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@abitmore abitmore merged commit c06a2a5 into bitshares:develop Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants